<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Aria: ArMapFileLineSet Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aria
   &#160;<span id="projectnumber">2.9.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classArMapFileLineSet.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classArMapFileLineSet-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ArMapFileLineSet Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A set of map file line groups.  
 <a href="classArMapFileLineSet.html#details">More...</a></p>

<p><code>#include &lt;ArMapUtils.h&gt;</code></p>

<p>Inherits vector&lt; ArMapFileLineGroup &gt;.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a56f67f260e889e579aca10c96f0ecce0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a56f67f260e889e579aca10c96f0ecce0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArMapFileLineSet.html#a56f67f260e889e579aca10c96f0ecce0">ArMapFileLineSet</a> ()</td></tr>
<tr class="memdesc:a56f67f260e889e579aca10c96f0ecce0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a56f67f260e889e579aca10c96f0ecce0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20ffa556fb29cc8002edd0032397e641"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20ffa556fb29cc8002edd0032397e641"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArMapFileLineSet.html#a20ffa556fb29cc8002edd0032397e641">ArMapFileLineSet</a> (const <a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> &amp;other)</td></tr>
<tr class="memdesc:a20ffa556fb29cc8002edd0032397e641"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:a20ffa556fb29cc8002edd0032397e641"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25035b27bfa197ea998be47f1551aff3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a25035b27bfa197ea998be47f1551aff3"></a>
iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArMapFileLineSet.html#a25035b27bfa197ea998be47f1551aff3">find</a> (const <a class="el" href="classArMapFileLine.html">ArMapFileLine</a> &amp;groupParent)</td></tr>
<tr class="memdesc:a25035b27bfa197ea998be47f1551aff3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Searches the set for the given parent line. <br /></td></tr>
<tr class="separator:a25035b27bfa197ea998be47f1551aff3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8656203a7a214c9955931dfdb6b1b38"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac8656203a7a214c9955931dfdb6b1b38"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArMapFileLineSet.html#ac8656203a7a214c9955931dfdb6b1b38">log</a> (const char *prefix)</td></tr>
<tr class="memdesc:ac8656203a7a214c9955931dfdb6b1b38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the set to the <a class="el" href="classAria.html" title="Contains global initialization, deinitialization and other global functions. ">Aria</a> output log. <br /></td></tr>
<tr class="separator:ac8656203a7a214c9955931dfdb6b1b38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5559e622528fd3f22f864092d14535b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae5559e622528fd3f22f864092d14535b"></a>
<a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArMapFileLineSet.html#ae5559e622528fd3f22f864092d14535b">operator=</a> (const <a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> &amp;other)</td></tr>
<tr class="memdesc:ae5559e622528fd3f22f864092d14535b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <br /></td></tr>
<tr class="separator:ae5559e622528fd3f22f864092d14535b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeed2ca39c5d253ac19912cfb34d7faab"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeed2ca39c5d253ac19912cfb34d7faab"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArMapFileLineSet.html#aeed2ca39c5d253ac19912cfb34d7faab">~ArMapFileLineSet</a> ()</td></tr>
<tr class="memdesc:aeed2ca39c5d253ac19912cfb34d7faab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:aeed2ca39c5d253ac19912cfb34d7faab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ad5e7e11ac5b86446510d94509b9656b2"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArMapFileLineSet.html#ad5e7e11ac5b86446510d94509b9656b2">calculateChanges</a> (<a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> &amp;origLines, <a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> &amp;newLines, <a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> *deletedLinesOut, <a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> *addedLinesOut, bool isCheckChildren=true)</td></tr>
<tr class="memdesc:ad5e7e11ac5b86446510d94509b9656b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the changes that have been made to a set of ArMapFileLines.  <a href="#ad5e7e11ac5b86446510d94509b9656b2">More...</a><br /></td></tr>
<tr class="separator:ad5e7e11ac5b86446510d94509b9656b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A set of map file line groups. </p>
<p><a class="el" href="classArMapFileLineSet.html" title="A set of map file line groups. ">ArMapFileLineSet</a> is a container of <a class="el" href="classArMapFileLineGroup.html" title="A group of map file lines which have a logical parent / child relationship. ">ArMapFileLineGroup</a> objects &ndash; i.e. a set of parent/child text lines in an <a class="el" href="classAria.html" title="Contains global initialization, deinitialization and other global functions. ">Aria</a> map. The class has been defined to enable comparisons of map file versions. Each section of an <a class="el" href="classAria.html" title="Contains global initialization, deinitialization and other global functions. ">Aria</a> map is written to an <a class="el" href="classArMapFileLineSet.html" title="A set of map file line groups. ">ArMapFileLineSet</a> and then the standard algorithm set_difference can be used to determine changes within a section. The static method <a class="el" href="classArMapFileLineSet.html#ad5e7e11ac5b86446510d94509b9656b2" title="Determines the changes that have been made to a set of ArMapFileLines. ">ArMapFileLineSet::calculateChanges()</a> performs this comparison. </p>
<p><b>Java and Python Wrappers:</b> Not available in Java or Python wrapper libraries. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad5e7e11ac5b86446510d94509b9656b2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ArMapFileLineSet::calculateChanges </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> &amp;&#160;</td>
          <td class="paramname"><em>origLines</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> &amp;&#160;</td>
          <td class="paramname"><em>newLines</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> *&#160;</td>
          <td class="paramname"><em>deletedLinesOut</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a> *&#160;</td>
          <td class="paramname"><em>addedLinesOut</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isCheckChildren</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determines the changes that have been made to a set of ArMapFileLines. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">origLines</td><td>the <a class="el" href="classArMapFileLineSet.html" title="A set of map file line groups. ">ArMapFileLineSet</a> that contains the original map file lines </td></tr>
    <tr><td class="paramname">newLines</td><td>the <a class="el" href="classArMapFileLineSet.html" title="A set of map file line groups. ">ArMapFileLineSet</a> that contains the new map file lines </td></tr>
    <tr><td class="paramname">deletedLinesOut</td><td>a pointer to the <a class="el" href="classArMapFileLineSet.html" title="A set of map file line groups. ">ArMapFileLineSet</a> that is populated with lines that have been deleted, i.e. that are contained in origLines but not in newLines </td></tr>
    <tr><td class="paramname">addedLinesOut</td><td>a pointer to the <a class="el" href="classArMapFileLineSet.html" title="A set of map file line groups. ">ArMapFileLineSet</a> that is populated with lines that have been added, i.e. that are contained in newLines but not in origLines </td></tr>
    <tr><td class="paramname">isCheckChildren</td><td>a bool set to true if child lines should also be checked; if false, then only the parent lines are checked </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool true if the changes were successfully determined; false if an error occurred </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>ArMapUtils.h</li>
<li>ArMapUtils.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classArMapFileLineSet.html">ArMapFileLineSet</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
